import request from '@/utils/request'

// 获取待入库入库单信息
export function scanOrderInfo(data) {
  return request({
    url: '/orderInfo/getReceiveOrderInfo',
    method: 'POST',
    data,
  })
}

// 获取入库单信息
export function getOrderInfo(data) {
  return request({
    url: '/orderInfo/getReceivedOrderInfo',
    method: 'POST',
    data,
  })
}
// 标准收获
export function confirmInound(data) {
  return request({
    url: '/orderInfo/updateOrderInfoForReceipt',
    method: 'POST',
    data,
  })
}

// SKU收货
export function confirmSkuInound(data) {
  return request({
    url: '/orderInfo/updateOrderInfoForPartReceipt',
    method: 'POST',
    data,
  })
}

// 快速收获
export function confirmFastInound(data) {
  return request({
    url: '/orderInfo/updateOrderInfoForQuickReceipt',
    method: 'POST',
    data,
  })
}
